package cn.wuxing.mediation.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wuxing.mediation.common.annotation.Excel;
import cn.wuxing.mediation.common.core.domain.BaseEntity;

/**
 * 考察接待对象 visiting_reception
 *
 * @author mediation
 * @date 2024-10-12
 */
public class VisitingReception extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考察接待id */
    private Long id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String organizationName;

    /** 地区 */
    @Excel(name = "地区")
    private String area;

    /** 实际接待时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际接待时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualReceptionHours;

    /** 预计接待时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计接待时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date estimatedReceptionTime;

    /** 接待人数 */
    @Excel(name = "接待人数")
    private Integer receptionCount;

    /** 接待人 */
    @Excel(name = "接待人")
    private String receptionist;

    /** 对方联系人 */
    @Excel(name = "对方联系人")
    private String person;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 接待状态  0：未接待 1：已接待*/
    @Excel(name = "接待状态")
    private String receptionStatus;

    /** 0:正常  1:删除 */
    private String delFlag;

    @Excel(name = "备注")
    private String remark;

    /*前端筛选的预计接待时间**/
    private String queryEstimatedReceptionTime;

    /**查询地区或者单位名称*/
    private String query;

    private String startTime;

    private String endTime;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getQueryEstimatedReceptionTime() {
        return queryEstimatedReceptionTime;
    }

    public void setQueryEstimatedReceptionTime(String queryEstimatedReceptionTime) {
        this.queryEstimatedReceptionTime = queryEstimatedReceptionTime;
    }

    public String getReceptionStatus() {
        return receptionStatus;
    }

    public void setReceptionStatus(String receptionStatus) {
        this.receptionStatus = receptionStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrganizationName(String organizationName)
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName()
    {
        return organizationName;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setActualReceptionHours(Date actualReceptionHours)
    {
        this.actualReceptionHours = actualReceptionHours;
    }

    public Date getActualReceptionHours()
    {
        return actualReceptionHours;
    }
    public void setEstimatedReceptionTime(Date estimatedReceptionTime)
    {
        this.estimatedReceptionTime = estimatedReceptionTime;
    }

    public Date getEstimatedReceptionTime()
    {
        return estimatedReceptionTime;
    }
    public void setReceptionCount(Integer receptionCount)
    {
        this.receptionCount = receptionCount;
    }

    public Integer getReceptionCount()
    {
        return receptionCount;
    }
    public void setReceptionist(String receptionist)
    {
        this.receptionist = receptionist;
    }

    public String getReceptionist()
    {
        return receptionist;
    }
    public void setPerson(String person)
    {
        this.person = person;
    }

    public String getPerson()
    {
        return person;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("organizationName", getOrganizationName())
            .append("area", getArea())
            .append("actualReceptionHours", getActualReceptionHours())
            .append("estimatedReceptionTime", getEstimatedReceptionTime())
            .append("receptionCount", getReceptionCount())
            .append("receptionist", getReceptionist())
            .append("person", getPerson())
                .append("phone", getPhone())
                .append("receptionStatus", getReceptionStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
